//
//  ZLW_BaseCell.m
//  Otaku
//
//  Created by lanou3g on 16/5/12.
//  Copyright © 2016年 Liuwx. All rights reserved.
//

#import "ZLW_BaseCell.h"
#import "ZLW_BaseCell.h"
#import "ZLW_TextCell.h"
#import "ZLW_VideoCell.h"
#import "ZLW_RecommentCell.h"
@implementation ZLW_BaseCell
+ (instancetype)cellWithTableView: (UITableView *)tableView   Model:(ZLWBaseModel *)model IndexPath: (NSIndexPath *)indexPath
{
    NSString *modelName = NSStringFromClass([model class]);
    
    ZLW_BaseCell *baseCell = [tableView dequeueReusableCellWithIdentifier:modelName forIndexPath:indexPath];
    
    //设置属性
    [baseCell setGetmodel:model];
    return baseCell;
}
-(void)setGetmodel:(ZLWBaseModel *)getmodel
{
   
  
    
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    
    // Configure the view for the selected state
}

@end
